package com.cskaoyan.service;




import com.cskaoyan.bean.GoodsStatBean;
import com.cskaoyan.bean.OrderStatBean;
import com.cskaoyan.bean.lzp.*;
import com.cskaoyan.bean.params.BaseParam;
import com.cskaoyan.bean.*;
import com.cskaoyan.bean.lzp.OrderChannel;
import com.cskaoyan.bean.lzp.OrderDetailVO;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface OrderService {
    OrderDetailVO queryDetail(String id);

    int deleteByOrderId(Integer orderId);

    List<OrderChannel> queryChannel();

    OrderListData list(BaseParam param, OrderListBO orderListBO);

    GoodsStatBean statOrderGoods();

    OrderStatBean order();

    WxOrderListBean wxlist(@Param("showType") Integer showType, @Param("page") Integer page, @Param("limit") Integer limit, @Param("id") Integer id);

    WxOrderDetailBean wxOrderDetail(Integer orderId);

    int wxCancelOrder(Integer orderId);

    int wxDeleteOrder(Integer orderId);

    int wxConfirmOrder(Integer orderId);

    int wxRefundOrder(Integer orderId);

    int wxPrepayOrder(Integer orderId);

    WxOrderGoods wxGoods(@Param("orderId") Integer orderId, @Param("goodsId") Integer goodsId);

    int comment(WxOrderParamBean wxOrderParamBean, Integer userId);

    Integer refund(OrderRefundBO orderRefundBO);

    Integer ship(OrderShipBO orderShipBO);

}


